package com.oracle.lingshangejia.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.oracle.lingshangejia.R;
import com.oracle.lingshangejia.base.BaseActivity;
import com.oracle.lingshangejia.utils.AppStateUtils;

public class AboutUsActivity extends BaseActivity implements View.OnClickListener {

    private RelativeLayout re_back;


    @Override
    public int intiLayout() {
        return R.layout.activity_about_us;
    }

    @Override
    public void initView() {
        re_back=findViewById(R.id.re_back);
        re_back.setOnClickListener(this);
        TextView tv = findViewById(R.id.tv_version);
        tv.setText("版本:"+AppStateUtils.getVerName(this));
    }

    @Override
    public void initData() {

    }
    @Override
    public void onClick(View v) {

        switch (v.getId()){

            //返回键
            case R.id.re_back:

                finish();
                break;
        }
    }
}
